hotkeys = {
    hk_console = {{"command", "`"}, function()
        openApp("Terminal.app")()
    end},
    hk_workweb1 = {{"command+option", "1"}, function()
        openWeb("https://docs.google.com/spreadsheets/d/1XSZKSkupKyU-kauAxyFjorZVFDZflCHkLxZ6Ytilbvc/edit?gid=0#gid=0")()
    end,"程序工作总表"},
    hk_workweb2 = {{"command+option", "2"}, function()
        openWeb("https://docs.google.com/spreadsheets/d/1Zn_ULWSIoq_6Bxz3DvHDKed-KS_OrcqTtrSLHmHvR2E/")()
    end,"研发进度管理表"},
    hk_workweb3 = {{"command+option", "3"}, function()
        openWeb("https://docs.google.com/spreadsheets/d/1n9-hHrvvzyGcvktimZVQU9hwydTJn5bIWV-QpnPZNjw/edit?pli=1&skip_itp2_check=true&gid=1591486046#gid=1591486046")()
    end,"未来两周"},
    hk_workweb4 = {{"command+option", "4"}, function()
        openWeb("https://docs.google.com/document/d/1KmLcqFHg5FKiYZ0K7poLMHUl7054ZoXx7YEg3SRGtx0/edit#heading=h.fvj13dipcalt")()
    end,"发版记录"},
    hk_workweb5 = {{"command+option", "5"}, function()
        openWeb("http://39.106.57.54:42453/")()
    end,"Jenkins"},
    hk_workweb6 = {{"command+option", "6"}, function()
        openWeb("http://chatgpt-corp.me2zen.com/")()
    end,"GPT"},
    hk_workweb7 = {{"command+option", "7"}, function()
        openWeb("https://project.feishu.cn/")()
    end,"飞书"},
    hk_workweb8 = {{"command+option", "8"}, function()
        openWeb("http://chatgpt-corp.me2zen.com/")()
    end,""},
    hk_workweb9 = {{"command+option", "9"}, function()
        hs.caffeinate.lockScreen()
    end,""},

    hk_copyPath = {{"option", "c"}, function()
        executeCmd(
            [[osascript -e 'tell application "Finder" set selectedItems to selection as alias list set firstone to POSIX path of (item 1 of selectedItems) set the clipboard to firstone end tell']])
    end}
}

for key, value in pairs(hotkeys) do
    hs.hotkey.bind(value[1][1], value[1][2], value[2])
end